Skip to content

GuillaumeVDu/MTUSpline

Repository files navigation

MTUSpline

C++ code for creating and using spline for musculo tendon unit kinematics (Moment arm and muscle-tendon length from joint angle)

Dependencies

  1. BOOST (Ubuntu command: sudo apt-get install libboost-dev) Tested version: 1.64.0 on Win10 and Win7./!\ 1.66 does not work.
  2. XSD V4 (Ubuntu command: sudo apt-get install xsdcxx)
  3. CMAKE (Ubuntu command: sudo apt-get install cmake) Tested version: 3.8.2 on Win10 and 3.10 on Win7. 3.14 and 3.12 does not work with OpenSim 3.1 (due to "$ENV{ProgramFiles(x86)}").
  4. OpenSim 3.3 Not mandatory (for creating the spline coefficients). Tested on Win10.

Test

A Test module is availible in the Test folder.

To use just run:

.\bin\Win\Debug\TestBoostBSpline.exe

In the windows powershell. The data used can be fond in cfg/SplineCoeff for the spline coefficients and in cfg/TestData for the data used by the testing modules. The output should be:

Running 1 test case...

*** No errors detected

About

C++ code for creating and using spline for musculo tendon unit kinematics (Moment arm and muscle-tendon length from joint angle)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages